package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTyperEnum;
import com.jingdianjichi.subject.domain.entity.SubjectAnswerBo;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBo;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBo;


public interface SubjectTypeHandler {

    /**
     * 枚举身份识别
     * @return
     */
    SubjectInfoTyperEnum getHandlerType();

    /**
     * 实际题目的插入
     * @param subjectInfoBo
     */
    void add(SubjectInfoBo subjectInfoBo);


    SubjectOptionBo query(Integer subjectId);

}
